package com.xiaomazi.statistics.config;

import feign.Logger;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @program: llxy-parent
 * @description: 默认Feign配置类
 * @author: 小马子
 * @create: 2023-02-20 09:02
 **/
@Configuration
@EnableFeignClients(basePackages = "com.xiaomazi.statistics.client",defaultConfiguration = DefaultFeignConfiguration.class)
public class DefaultFeignConfiguration {
    @Bean
    public Logger.Level level(){
        return Logger.Level.BASIC;
    }
}
